import React, {PureComponent} from 'react';
import NavigationFactory from '../utils/NavigationFactory';
import {StyleSheet, View} from 'react-native';
import {Text} from 'react-native-paper';
import {inject, observer} from "mobx-react";

@NavigationFactory
@inject('userModel')
@observer
class ClassifyPage extends PureComponent {
  componentDidMount() {}

  componentWillUnmount() {}

  constructor(props) {
    super(props);
    this.state = {};
    this.userInfo =  this.props.userModel;
  }

  render() {
    return (
      <View style={styles.contain}>
          <Text>分类11</Text>
          <Text>{this.userInfo.userInfo.name}</Text>
      </View>
    );
  }
}
const styles = StyleSheet.create({
    contain: {
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
    },
});
export default ClassifyPage;
